import { mapMutations, mapGetters } from 'vuex'
import Vue from 'vue'
export default {
    install(Vue) {
        Vue.mixin({
			computed:{
			    ...mapGetters({
			        vtheme: 'theme/theme',
			        // themeColor: 'theme/themeColor'
			    })
			},
            methods:{
                ...mapMutations({
					Mhide:'floatball/hide',
					Mshow: 'floatball/show',
					vGetTheme:'theme/GET_THEME',
					confirm$: 'confirm/SET_COMPONENT_NAMES',
					$confirmDel: 'confirm/DELETE_COMPONENT_NAMES'
                }),
            }
        })
    }
}
